package Reflect;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 需要完成的事
 * Created by svenl on 7/17/2017.
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ToDo {
    enum Priority {LOW, MEDIUM, HIGH}

    enum Status {WAITING, STARTED, PAUSED, FINISHED}

    String author() default "Sven";

    Status status() default Status.WAITING;

    Priority priority() default Priority.LOW;

}
